import request from "@/utils/request";

// 查询疫苗管理列表
export function listVaccineManage(query) {
  return request({
    url: "/zp/vaccineManage/list",
    method: "get",
    params: query,
  });
}

// 查询疫苗管理详细
export function getVaccineManage(id) {
  return request({
    url: "/medical/vaccineManage/" + id,
    method: "get",
  });
}

// 新增疫苗管理
export function addVaccineManage(data) {
  return request({
    url: "/zp/vaccineManage",
    method: "post",
    data: data,
  });
}

// 修改疫苗管理
export function updateVaccineManage(data) {
  return request({
    url: "/medical/vaccineManage",
    method: "put",
    data: data,
  });
}

// 删除疫苗管理
export function delVaccineManage(id) {
  return request({
    url: "/medical/vaccineManage/" + id,
    method: "delete",
  });
}
